//
//  HistoryItemModel.swift
//  Automobile
//
//  Created by erkebulan elzhan on 7/27/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.
//

import UIKit


class HistoryVCModel {
    
    struct HistoryItems {
        @DateString var timestamp: String
        var items: [HistoryItem]
    }
    
    var historyGroup: [HistoryItems] = [
        HistoryItems(timestamp: "1595834576", items: [
            HistoryItem(cost: "190", id: 1009,
                        kvintasiaNumber: 190923, fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
            HistoryItem(cost: "190", id: 1009, kvintasiaNumber: 190923,
                        fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
            HistoryItem(cost: "190", id: 1009, kvintasiaNumber: 190923,
                        fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
        ]),
        HistoryItems(timestamp: "159583457236", items: [
            HistoryItem(cost: "190", id: 1009,
                        kvintasiaNumber: 190923, fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
            HistoryItem(cost: "190", id: 1009, kvintasiaNumber: 190923,
                        fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
            HistoryItem(cost: "190", id: 1009, kvintasiaNumber: 190923,
                        fullName: "Елжан Еркебулан",
                        paymentIcon: UIImage(named: "mastercard"),
                        paymentName: "Kaspi Bank", paymentCard: "12672362726323",
                        timestamp: 1595834576),
        ])
    ]
}
